import 'package:demo/empUtils/EMPColorUtils.dart';
import 'package:flutter/material.dart';

class EMPTextStyle {

  static const TextStyle textSize12 = TextStyle(
    fontSize: Fonts.font_sp12,
  );
  static const TextStyle textSize16 = TextStyle(
    fontSize: Fonts.font_sp16,
  );
  static const TextStyle textBold14 = TextStyle(
      fontSize: Fonts.font_sp14,
      fontWeight: FontWeight.bold
  );
  static const TextStyle textBold16 = TextStyle(
      fontSize: Fonts.font_sp16,
      fontWeight: FontWeight.bold
  );
  static const TextStyle textBold18 = TextStyle(
      fontSize: Fonts.font_sp18,
      fontWeight: FontWeight.bold
  );
  static const TextStyle textBold24 = TextStyle(
      fontSize: 24.0,
      fontWeight: FontWeight.bold
  );
  static const TextStyle textBold26 = TextStyle(
      fontSize: 26.0,
      fontWeight: FontWeight.bold
  );

  static const TextStyle textGray14 = TextStyle(
    fontSize: Fonts.font_sp14,
    color: EMPColor.text_gray,
  );
  static const TextStyle textDarkGray14 = TextStyle(
    fontSize: Fonts.font_sp14,
    color: EMPColor.dark_text_gray,
  );

  static const TextStyle textWhite14 = TextStyle(
    fontSize: Fonts.font_sp14,
    color: Colors.white,
  );

  static const TextStyle text = TextStyle(
      fontSize: Fonts.font_sp14,
      color: EMPColor.text,
      textBaseline: TextBaseline.alphabetic
  );
  static const TextStyle textDark = TextStyle(
      fontSize: Fonts.font_sp14,
      color: EMPColor.dark_text,
      textBaseline: TextBaseline.alphabetic
  );

  static const TextStyle textGray12 = TextStyle(
      fontSize: Fonts.font_sp12,
      color: EMPColor.text_gray,
      fontWeight: FontWeight.normal
  );
  static const TextStyle textDarkGray12 = TextStyle(
      fontSize: Fonts.font_sp12,
      color: EMPColor.dark_text_gray,
      fontWeight: FontWeight.normal
  );

  static const TextStyle textHint14 = TextStyle(
      fontSize: Fonts.font_sp14,
      color: EMPColor.dark_unselected_item_color
  );
}

class Fonts {
  static const double font_sp10 = 10.0;
  static const double font_sp12 = 12.0;
  static const double font_sp14 = 14.0;
  static const double font_sp15 = 15.0;
  static const double font_sp16 = 16.0;
  static const double font_sp18 = 18.0;

  static const double gap_dp4 = 4;
  static const double gap_dp5 = 5;
  static const double gap_dp8 = 8;
  static const double gap_dp10 = 10;
  static const double gap_dp12 = 12;
  static const double gap_dp15 = 15;
  static const double gap_dp16 = 16;
  static const double gap_dp24 = 24;
  static const double gap_dp32 = 32;
  static const double gap_dp50 = 50;
}